Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/lit 3379 investigate bls signed session bug #500

Merged

Conversation

joshLong145
Copy link

@joshLong145 joshLong145 commented Jun 7, 2024

Adds BLS signature verification for checkToResignSessionKey as we will use the siwe verify implementation for ed25519 keys.

Currently we will effectively retry the operation if the BLS verification fails. The retried operation has a low likelihood of success as we will be performing a retry with the same network key which means that it will fail to verify as the same signing key will be used with the same message which produced the original error.

It is out of scope of this pr to address the resigning issues for BLS signatures but mentioning it as it is a follow up task to address

@joshLong145 joshLong145 marked this pull request as ready for review June 10, 2024 20:49
Copy link
Contributor

@MaximusHaximus MaximusHaximus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few questions in-line 👍 :)

Copy link
Collaborator

@Ansonhkg Ansonhkg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This PR also fixed the signature missing issue as we are now properly verifying the bls session sigs within authSig.algo === LIT_BLSin thecheckNeedToResignSessionKey` method

@joshLong145 joshLong145 merged commit 4333fd7 into master Jun 12, 2024
4 checks passed
@joshLong145 joshLong145 deleted the feature/lit-3379-investigate-bls-signed-session-bug branch June 12, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants